table of contents
COMPOSER-CLI(1) | COMPOSER-CLI(1) |
NAME¶
composer-cli-blueprints - Manage blueprints
SYNOPSIS¶
composer-cli blueprints ... [flags]
DESCRIPTION¶
Manage blueprints on the server
The full blueprint reference can be found here:
https://osbuild.org/docs/user-guide/blueprint-reference
OPTIONS¶
-h, --help[=false] help for blueprints
OPTIONS INHERITED FROM PARENT COMMANDS¶
-a, --api=1 Server API Version to use
-j, --json[=false] Output the raw JSON response instead of the normal output
--log="" Path to optional logfile
-s, --socket="/run/weldr/api.socket" Path to the server's socket file
--test=0 Pass test mode to compose. 1=Mock compose with fail. 2=Mock compose with finished.
--timeout=240 Timeout to use for server communication. Set to 0 for no timeout
EXAMPLE¶
TOML blueprint for an image with tmux, a user, and a new group for the user:
name = "student-image"
description = "A base system with a student account"
version = "0.0.1"
[[packages]]
name = "tmux"
version = "*"
[[customizations.user]]
name = "bart"
description = "Student account for Bart"
groups = ["students"]
password = "$6$CHO2$3rN8eviE2t50lmVyBYihTgVRHcaecmeCk31LeOUleVK/R/aeWVHVZDi26zAH.o0ywBKH9Tc0/wm7sW/q39uyd1"
[[customizations.group]]
name = "students"
TOML blueprint for an image with a custom filesystem:
name = "custom-fs-image"
description = "A base system with a custom filesystem"
version = "0.0.1"
[[packages]]
name = "tmux"
version = "*"
[[customizations.filesystem]]
mountpoint = "/"
size = "2GiB"
[[customizations.filesystem]]
mountpoint = "/home"
size = "5GiB"
SEE ALSO¶
composer-cli(1), composer-cli-blueprints-changes(1), composer-cli-blueprints-delete(1), composer-cli-blueprints-depsolve(1), composer-cli-blueprints-diff(1), composer-cli-blueprints-freeze(1), composer-cli-blueprints-list(1), composer-cli-blueprints-push(1), composer-cli-blueprints-save(1), composer-cli-blueprints-show(1), composer-cli-blueprints-tag(1), composer-cli-blueprints-undo(1), composer-cli-blueprints-workspace(1)
HISTORY¶
21-Feb-2024 Auto generated by spf13/cobra
Feb 2024 | composer-cli |